package com.zhuxiaomei;


import com.zhuxiaomei.websocket.WebSocketServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author ${USER}
 * @date ${DATE} ${TIME}
 * @description
 */
@SpringBootApplication
@MapperScan("com.zhuxiaomei.mapper")
public class ServiceRestaurantApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext application = SpringApplication.run(ServiceRestaurantApplication.class, args);
        WebSocketServer.setApplicationContext(application);
    }
}